{extend name="common@base" /}
{block name="content"}
<section class="content">
  <div class="row">
    <div class="col-xs-12">
      <div class="box box-primary">
        <div class="box-header with-border">
          <div class="box-title">考试管理</div>
        </div>
        <div class="box-body">
          <table id="table" class="table">
            <thead>
            <tr>
              <th>ID</th>
              <th>开始时间/结束时间</th>
              <th>班级</th>
              <th>监考老师</th>
              <th>应考人数</th>
              <th>实考人数</th>
              <th>通过率</th>
              <th>状态</th>
              <th>操作</th>
            </tr>
            </thead>
            <tbody>
            {foreach $rows as $row}
            <tr>
              <td>{$row.id}</td>
              <td>{$row.start_time} / {$row.end_time}</td>
              <td>{$row.class_title}</td>
              <td>{$row.realname}</td>
              <td>{$row.paper_count}</td>
              <td>{$row.examinee_count}</td>
              <td>{$row.pass_rate}</td>
              <td>{$row.status}</td>
              <td>
                <a href="{:url('editTime',['id'=>$row.id])}" class="btn btn-xs btn-default">设定考试时间</a>
              </td>
            </tr>
            {/foreach}
            </tbody>
          </table>
        </div>
        <div class="box-footer">
          {$rows->render()}
        </div>
      </div>
    </div>
  </div>
</section>
{/block}
{block name="page_script"}

{/block}





